#!/bin/sh
INDIR=$1
OUTDIR=$2

if [ ! -d $OUTDIR ]; then
	mkdir $OUTDIR;
	echo "$OUTDIR created";
fi
for i in `ls $INDIR`
do
	echo $i;
	./forma.sh $INDIR/$i $OUTDIR/${i%.*}.tag
done;

